# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=distrobox
pkgver=1.6.0.1
pkgrel=0
pkgdesc="Use any Linux distribution inside your terminal"
url="https://distrobox.privatedns.org/"
# s390x blocked by podman
arch="noarch !s390x"
license="GPL-3.0-only"
depends="podman"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/89luca89/distrobox/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No tests

package() {
	./install --prefix "$pkgdir"/usr

	install -dm0755 "$pkgdir"/usr/share/doc/distrobox
	install -m 0644 docs/*.md "$pkgdir"/usr/share/doc/distrobox
}

sha512sums="
cc7bd42b1c7e198eb255b6bdd90a76fa25700edc274b14379ffe3199c8a8cadc9ab27c94f43ee4a92d270b65df7b04e6c11441eb68456fe7ec3d56b2879534f2  distrobox-1.6.0.1.tar.gz
"
